package com.blue.service.workflow;

import com.blue.dto.workflow.WorkFlowProcessDTO;

/**
 * 流程过程处理器
 */
public interface WorkflowProcessHandler {

    //启动流程调动
    void startProcess(WorkFlowProcessDTO workFlowProcessDTO);

    //同意审批中间节点流程调动
    void approveMiddleProcess(WorkFlowProcessDTO workFlowProcessDTO);

    //流程结束调用
    void completedProcess(WorkFlowProcessDTO workFlowProcessDTO);

    //拒绝流程调用
    void rejectedProcess(WorkFlowProcessDTO workFlowProcessDTO);

    //退回流程调用
    void backProcess(WorkFlowProcessDTO workFlowProcessDTO);
}
